package kordegi.forumsystem.service;

import com.github.pagehelper.PageInfo;
import kordegi.forumsystem.common.lang.Result;
import kordegi.forumsystem.entity.Article;
import kordegi.forumsystem.entity.PageRequest;
import kordegi.forumsystem.entity.PageResult;

public interface ArticleService {
    Article getById(Long id);

    Result findByPager(PageRequest pageRequest);

    int saveOrUpdate(Article article);
}
